package Assignment.Test1;

public class Round extends Shape{
    public Round() {
    }

    public Round(double x, double y) {
        super(x, y);
    }

    @Override
    public double Area() {
        return getX()*getY()*getX();
    }

    @Override
    public double perimeter() {
        return  getX()*getY()*2;
    }
}
